//
// Created by jinbang.li on 2023/4/9.
//

#ifndef OPENPLAYDEMO_OPTHREAD_H
#define OPENPLAYDEMO_OPTHREAD_H



class OpThread{
public:
    virtual bool Start();

    virtual void Stop();

    virtual void Main(){};

protected:
    bool isExit = false;
    bool isRunning = false;
private:
    void ThreadMain();
};


#endif //OPENPLAYDEMO_OPTHREAD_H
